import 'package:flutter/material.dart';

var modelBottomSheet = (context) async {
  var result = await showModalBottomSheet(
      context: context,
      builder: (context) {
        return SizedBox(
          height: 220,
          child: Column(
            children: <Widget>[
              ListTile(
                title: const Text("分享 A"),
                onTap: () {
                  Navigator.pop(context, "分享 A");
                },
              ),
              const Divider(),
              ListTile(
                title: const Text("分享 B"),
                onTap: () {
                  Navigator.pop(context, "分享 B");
                },
              ),
              const Divider(),
              ListTile(
                title: const Text("分享 C"),
                onTap: () {
                  Navigator.pop(context, "分享 C");
                },
              )
            ],
          ),
        );
      });
  print(result);
};
